package com.tkmybatis.hfy.config;

import org.springframework.context.ApplicationListener;
import org.springframework.context.event.ContextClosedEvent;
import lombok.extern.slf4j.Slf4j;

//@Component
@Slf4j
public class ApplicationClose implements ApplicationListener<ContextClosedEvent>{

	/**
	 * 初始化系统基础配置
	 */
    @Override
    public void onApplicationEvent(ContextClosedEvent event) {
    	log.info("==========程序关闭===========");
        try {
		} catch (Exception e) {
			log.error("error:",e);
		}
    }


}
